package com.iteaj.iot.client.proxy;

import com.iteaj.network.AbstractProtocol;
import com.iteaj.network.ProtocolFactory;
import com.iteaj.network.proxy.ProxyClientMessage;

public class ProxyClientProtocolFactory extends ProtocolFactory<ProxyClientMessage> {

    @Override
    public AbstractProtocol getProtocol(ProxyClientMessage message) {
        String messageId = message.getMessageId();

        return remove(messageId);
    }
}
